﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Esint.Common.Model.DbAttribute
{
    /// <summary>
    /// 数据库表特性
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
    public class DbTableAttribute : Attribute
    {
        /// <summary>
        /// 表名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 表名称注释
        /// </summary>
        public string Commet { get; set; }

        /// <summary>
        /// 表空间
        /// </summary>
        public string TableSpace { get; set; }
    }
}
